/ MacWorld 2003 July
/ Macworld_2003-07.iso / Data / Software / Reviews / REALbasicMacOSX.sit / REALbasic 5.1 Mac OS X / Read Mes / RegistryItem Read Me ![]() | < prev | next > |
MacBinary | 2002-10-09 | 2.5 KB | [TEXT/R*ch] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Wed Oct 9 16:52:25 2002, modified Wed Oct 9 16:52:25 2002, creator BBEdit, type ASCII, 2003 bytes "RegistryItem Read Me" , at 0x853 382 bytes resource | default (weak) | |
99% | file | data | default | |
49% | TrID | Macintosh plain text (MacBinary) | default | |
33% | TrID | raw Group 3 FAX bitmap | default (weak) | |
16% | TrID | MacBinary 2 | default (weak) | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [R*ch] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 52 65 67 69 73 74 | 72 79 49 74 65 6d 20 52 |..Regist|ryItem R|
|00000010| 65 61 64 20 4d 65 00 00 | 00 00 00 00 00 00 00 00 |ead Me..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 52 2a 63 | 68 01 00 00 00 00 00 00 |.TEXTR*c|h.......|
|00000050| 00 00 00 00 00 07 d3 00 | 00 01 7e b9 ca 47 89 b9 |........|..~..G..|
|00000060| ca 47 89 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.G......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d7 0a 00 00 |........|........|
|00000080| 52 65 67 69 73 74 72 79 | 49 74 65 6d 20 63 6c 61 |Registry|Item cla|
|00000090| 73 73 3a 0d 20 20 20 20 | 6d 65 74 68 6f 64 73 3a |ss:. |methods:|
|000000a0| 0d 20 20 20 20 20 20 20 | 20 2a 6e 65 77 20 52 65 |. | *new Re|
|000000b0| 67 69 73 74 72 79 49 74 | 65 6d 28 70 61 74 68 20 |gistryIt|em(path |
|000000c0| 61 73 20 53 74 72 69 6e | 67 29 20 61 73 20 52 65 |as Strin|g) as Re|
|000000d0| 67 69 73 74 72 79 49 74 | 65 6d 3a 20 77 69 6c 6c |gistryIt|em: will|
|000000e0| 20 63 72 65 61 74 65 20 | 74 68 65 20 72 65 67 69 | create |the regi|
|000000f0| 73 74 72 79 20 69 74 65 | 6d 20 6f 66 66 20 74 68 |stry ite|m off th|
|00000100| 65 20 70 61 74 68 20 67 | 69 76 65 6e 0d 20 20 20 |e path g|iven. |
|00000110| 20 20 20 20 20 2a 6e 65 | 77 20 52 65 67 69 73 74 | *ne|w Regist|
|00000120| 72 79 49 74 65 6d 28 63 | 6f 70 79 20 61 73 20 52 |ryItem(c|opy as R|
|00000130| 65 67 69 73 74 72 79 49 | 74 65 6d 29 20 61 73 20 |egistryI|tem) as |
|00000140| 52 65 67 69 73 74 72 79 | 49 74 65 6d 3a 20 77 69 |Registry|Item: wi|
|00000150| 6c 6c 20 63 6c 6f 6e 65 | 20 74 68 65 20 72 65 67 |ll clone| the reg|
|00000160| 69 73 74 72 79 20 69 74 | 65 6d 20 70 61 73 73 65 |istry it|em passe|
|00000170| 64 20 69 6e 0d 20 20 20 | 20 20 20 20 20 2a 46 75 |d in. | *Fu|
|00000180| 6e 63 74 69 6f 6e 20 52 | 65 67 69 73 74 72 79 49 |nction R|egistryI|
|00000190| 74 65 6d 2e 41 64 64 46 | 6f 6c 64 65 72 28 6e 61 |tem.AddF|older(na|
|000001a0| 6d 65 20 61 73 20 53 74 | 72 69 6e 67 29 20 61 73 |me as St|ring) as|
|000001b0| 20 52 65 67 69 73 74 72 | 79 49 74 65 6d 3a 20 77 | Registr|yItem: w|
|000001c0| 69 6c 6c 20 63 72 65 61 | 74 65 20 61 20 66 6f 6c |ill crea|te a fol|
|000001d0| 64 65 72 20 77 69 74 68 | 69 6e 20 74 68 65 20 63 |der with|in the c|
|000001e0| 75 72 72 65 6e 74 0d 20 | 20 20 20 20 20 20 20 20 |urrent. | |
|000001f0| 20 20 20 72 65 67 69 73 | 74 72 79 20 69 74 65 6d | regis|try item|
|00000200| 2c 20 61 6e 64 20 70 61 | 73 73 20 62 61 63 6b 20 |, and pa|ss back |
|00000210| 74 68 65 20 6e 65 77 20 | 52 65 67 69 73 74 72 79 |the new |Registry|
|00000220| 49 74 65 6d 0d 20 20 20 | 20 20 20 20 20 2a 53 75 |Item. | *Su|
|00000230| 62 20 52 65 67 69 73 74 | 72 79 49 74 65 6d 2e 44 |b Regist|ryItem.D|
|00000240| 65 6c 65 74 65 28 6e 61 | 6d 65 20 61 73 20 53 74 |elete(na|me as St|
|00000250| 72 69 6e 67 29 3a 20 77 | 69 6c 6c 20 64 65 6c 65 |ring): w|ill dele|
|00000260| 74 65 20 74 68 65 20 6e | 61 6d 65 64 20 72 65 67 |te the n|amed reg|
|00000270| 69 73 74 72 79 20 69 74 | 65 6d 2c 20 77 68 65 74 |istry it|em, whet|
|00000280| 68 65 72 20 69 74 27 73 | 20 61 20 6b 65 79 20 6f |her it's| a key o|
|00000290| 72 20 61 20 66 6f 6c 64 | 65 72 0d 20 20 20 20 20 |r a fold|er. |
|000002a0| 20 20 20 2a 46 75 6e 63 | 74 69 6f 6e 20 52 65 67 | *Func|tion Reg|
|000002b0| 69 73 74 72 79 49 74 65 | 6d 2e 56 61 6c 75 65 28 |istryIte|m.Value(|
|000002c0| 6e 61 6d 65 20 61 73 20 | 53 74 72 69 6e 67 29 20 |name as |String) |
|000002d0| 61 73 20 56 61 72 69 61 | 6e 74 3a 20 77 69 6c 6c |as Varia|nt: will|
|000002e0| 20 70 61 73 73 20 62 61 | 63 6b 20 74 68 65 20 6e | pass ba|ck the n|
|000002f0| 61 6d 65 64 20 72 65 67 | 69 73 74 72 79 20 69 74 |amed reg|istry it|
|00000300| 65 6d 27 73 20 76 61 6c | 75 65 0d 20 20 20 20 20 |em's val|ue. |
|00000310| 20 20 20 2a 46 75 6e 63 | 74 69 6f 6e 20 52 65 67 | *Func|tion Reg|
|00000320| 69 73 74 72 79 49 74 65 | 6d 2e 56 61 6c 75 65 28 |istryIte|m.Value(|
|00000330| 69 6e 64 65 78 20 61 73 | 20 49 6e 74 65 67 65 72 |index as| Integer|
|00000340| 29 20 61 73 20 56 61 72 | 69 61 6e 74 3a 20 77 69 |) as Var|iant: wi|
|00000350| 6c 6c 20 70 61 73 73 20 | 62 61 63 6b 20 74 68 65 |ll pass |back the|
|00000360| 20 6e 61 6d 65 64 20 72 | 65 67 69 73 74 72 79 20 | named r|egistry |
|00000370| 69 74 65 6d 27 73 20 76 | 61 6c 75 65 0d 20 20 20 |item's v|alue. |
|00000380| 20 20 20 20 20 20 20 20 | 20 28 4e 6f 74 65 3a 20 | | (Note: |
|00000390| 69 66 20 69 6e 64 65 78 | 20 3e 20 4b 65 79 43 6f |if index| > KeyCo|
|000003a0| 75 6e 74 2c 20 77 69 6c | 6c 20 72 61 69 73 65 20 |unt, wil|l raise |
|000003b0| 61 6e 20 6f 75 74 4f 66 | 42 6f 75 6e 64 73 45 78 |an outOf|BoundsEx|
|000003c0| 63 65 70 74 69 6f 6e 29 | 0d 20 20 20 20 20 20 20 |ception)|. |
|000003d0| 20 2a 46 75 6e 63 74 69 | 6f 6e 20 52 65 67 69 73 | *Functi|on Regis|
|000003e0| 74 72 79 49 74 65 6d 2e | 44 65 66 61 75 6c 74 56 |tryItem.|DefaultV|
|000003f0| 61 6c 75 65 28 29 20 61 | 73 20 56 61 72 69 61 6e |alue() a|s Varian|
|00000400| 74 3a 20 77 69 6c 6c 20 | 70 61 73 73 20 62 61 63 |t: will |pass bac|
|00000410| 6b 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 76 61 |k the de|fault va|
|00000420| 6c 75 65 20 66 6f 72 20 | 74 68 69 73 20 72 65 67 |lue for |this reg|
|00000430| 69 73 74 72 79 20 69 74 | 65 6d 0d 20 20 20 20 20 |istry it|em. |
|00000440| 20 20 20 2a 46 75 6e 63 | 74 69 6f 6e 20 52 65 67 | *Func|tion Reg|
|00000450| 69 73 74 72 79 49 74 65 | 6d 2e 43 68 69 6c 64 28 |istryIte|m.Child(|
|00000460| 6e 61 6d 65 20 61 73 20 | 53 74 72 69 6e 67 29 20 |name as |String) |
|00000470| 61 73 20 52 65 67 69 73 | 74 72 79 49 74 65 6d 3a |as Regis|tryItem:|
|00000480| 20 77 69 6c 6c 20 70 61 | 73 73 20 62 61 63 6b 20 | will pa|ss back |
|00000490| 74 68 65 20 63 68 69 6c | 64 20 6e 61 6d 65 64 20 |the chil|d named |
|000004a0| 61 73 20 61 20 72 65 67 | 69 73 74 72 79 20 69 74 |as a reg|istry it|
|000004b0| 65 6d 0d 20 20 20 20 20 | 20 20 20 2a 46 75 6e 63 |em. | *Func|
|000004c0| 74 69 6f 6e 20 52 65 67 | 69 73 74 72 79 49 74 65 |tion Reg|istryIte|
|000004d0| 6d 2e 49 74 65 6d 28 69 | 6e 64 65 78 20 61 73 20 |m.Item(i|ndex as |
|000004e0| 49 6e 74 65 67 65 72 29 | 20 61 73 20 52 65 67 69 |Integer)| as Regi|
|000004f0| 73 74 72 79 49 74 65 6d | 3a 20 77 69 6c 6c 20 70 |stryItem|: will p|
|00000500| 61 73 73 20 62 61 63 6b | 20 74 68 65 20 72 65 67 |ass back| the reg|
|00000510| 69 73 74 72 79 20 69 74 | 65 6d 20 63 6f 72 72 65 |istry it|em corre|
|00000520| 70 73 6f 6e 64 69 6e 67 | 0d 20 20 20 20 20 20 20 |psonding|. |
|00000530| 20 20 20 20 20 74 6f 20 | 74 68 65 20 69 6e 64 65 | to |the inde|
|00000540| 78 20 70 61 73 73 65 64 | 20 69 6e 0d 20 20 20 20 |x passed| in. |
|00000550| 20 20 20 20 2a 46 75 6e | 63 74 69 6f 6e 20 52 65 | *Fun|ction Re|
|00000560| 67 69 73 74 72 79 49 74 | 65 6d 2e 4e 61 6d 65 28 |gistryIt|em.Name(|
|00000570| 69 6e 64 65 78 20 61 73 | 20 49 6e 74 65 67 65 72 |index as| Integer|
|00000580| 29 20 61 73 20 53 74 72 | 69 6e 67 3a 20 77 69 6c |) as Str|ing: wil|
|00000590| 6c 20 72 65 74 75 72 6e | 20 74 68 65 20 6e 61 6d |l return| the nam|
|000005a0| 65 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |e of the| current|
|000005b0| 20 72 65 67 69 73 74 72 | 79 20 69 74 65 6d 0d 20 | registr|y item. |
|000005c0| 20 20 20 70 72 6f 70 65 | 72 74 69 65 73 3a 0d 20 | prope|rties:. |
|000005d0| 20 20 20 20 20 20 20 52 | 65 67 69 73 74 72 79 49 | R|egistryI|
|000005e0| 74 65 6d 2e 50 61 72 65 | 6e 74 20 61 73 20 52 65 |tem.Pare|nt as Re|
|000005f0| 67 69 73 74 72 79 49 74 | 65 6d 3a 20 74 68 65 20 |gistryIt|em: the |
|00000600| 63 75 72 72 65 6e 74 20 | 69 74 65 6d 27 73 20 70 |current |item's p|
|00000610| 61 72 65 6e 74 2e 20 20 | 52 65 61 64 2d 6f 6e 6c |arent. |Read-onl|
|00000620| 79 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 28 4e |y. | (N|
|00000630| 6f 74 65 3a 20 79 6f 75 | 20 63 61 6e 6e 6f 74 20 |ote: you| cannot |
|00000640| 67 65 74 20 74 68 65 20 | 70 61 72 65 6e 74 20 6f |get the |parent o|
|00000650| 66 20 61 20 68 69 76 65 | 2e 20 20 45 61 63 68 20 |f a hive|. Each |
|00000660| 68 69 76 65 20 69 73 20 | 63 6f 6e 73 69 64 65 72 |hive is |consider|
|00000670| 65 64 20 61 20 72 6f 6f | 74 29 0d 20 20 20 20 20 |ed a roo|t). |
|00000680| 20 20 20 52 65 67 69 73 | 74 72 79 49 74 65 6d 2e | Regis|tryItem.|
|00000690| 4b 65 79 43 6f 75 6e 74 | 20 61 73 20 49 6e 74 65 |KeyCount| as Inte|
|000006a0| 67 65 72 3a 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ger: the| number |
|000006b0| 6f 66 20 6b 65 79 73 20 | 63 6f 6e 74 61 69 6e 65 |of keys |containe|
|000006c0| 64 20 77 69 74 68 69 6e | 20 74 68 65 20 72 65 67 |d within| the reg|
|000006d0| 69 73 74 72 79 20 69 74 | 65 6d 2e 20 20 52 65 61 |istry it|em. Rea|
|000006e0| 64 2d 6f 6e 6c 79 0d 20 | 20 20 20 20 20 20 20 52 |d-only. | R|
|000006f0| 65 67 69 73 74 72 79 49 | 74 65 6d 2e 46 6f 6c 64 |egistryI|tem.Fold|
|00000700| 65 72 43 6f 75 6e 74 20 | 61 73 20 49 6e 74 65 67 |erCount |as Integ|
|00000710| 65 72 3a 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |er: the |number o|
|00000720| 66 20 63 68 69 6c 64 20 | 66 6f 6c 64 65 72 73 20 |f child |folders |
|00000730| 63 6f 6e 74 61 69 6e 65 | 64 20 77 69 74 68 20 74 |containe|d with t|
|00000740| 68 65 20 72 65 67 69 73 | 74 72 79 20 69 74 65 6d |he regis|try item|
|00000750| 2e 20 20 52 65 61 64 2d | 6f 6e 6c 79 0d 20 20 20 |. Read-|only. |
|00000760| 20 20 20 20 20 52 65 67 | 69 73 74 72 79 49 74 65 | Reg|istryIte|
|00000770| 6d 2e 50 61 74 68 20 61 | 73 20 53 74 72 69 6e 67 |m.Path a|s String|
|00000780| 3a 20 74 68 65 20 66 75 | 6c 6c 20 70 61 74 68 20 |: the fu|ll path |
|00000790| 74 6f 20 74 68 65 20 72 | 65 67 69 73 74 72 79 20 |to the r|egistry |
|000007a0| 69 74 65 6d 2e 20 20 52 | 65 61 64 2d 6f 6e 6c 79 |item. R|ead-only|
|000007b0| 0d 20 20 20 20 41 20 52 | 65 67 69 73 74 72 79 41 |. A R|egistryA|
|000007c0| 63 63 65 73 73 45 72 72 | 6f 72 45 78 63 65 70 74 |ccessErr|orExcept|
|000007d0| 69 6f 6e 20 77 69 6c 6c | 20 62 65 20 72 61 69 73 |ion will| be rais|
|000007e0| 65 64 20 69 66 20 79 6f | 75 20 64 6f 20 6e 6f 74 |ed if yo|u do not|
|000007f0| 20 68 61 76 65 20 74 68 | 65 20 70 72 6f 70 65 72 | have th|e proper|
|00000800| 20 61 63 63 65 73 73 20 | 70 72 69 76 6c 65 64 67 | access |privledg|
|00000810| 65 73 2c 20 6f 72 20 69 | 66 20 79 6f 75 20 61 74 |es, or i|f you at|
|00000820| 74 65 6d 70 74 0d 20 20 | 20 20 20 20 20 20 74 6f |tempt. | to|
|00000830| 20 75 73 65 20 74 68 65 | 20 52 65 67 69 73 74 72 | use the| Registr|
|00000840| 79 20 63 6c 61 73 73 20 | 66 72 6f 6d 20 61 20 4d |y class |from a M|
|00000850| 61 63 2e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ac......|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 06 | 00 04 01 44 00 23 02 f9 |........|...D.#..|
|000009b0| 03 1d 01 44 00 23 02 f9 | 03 1d b9 ca 0f 49 00 00 |...D.#..|.....I..|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 01 01 00 00 01 00 |........|........|
|000009d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 0e 80 84 |...L...L|...2....|
|000009e0| 02 4f 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.O.....2|..MPSR..|
|000009f0| 00 0a 03 ed ff ff 00 00 | 00 00 01 b1 8b 98 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+